home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 26.zip / BS1 part 26 / Aztec C v5.2a disk 4.adf / 204inc_i.lzh / intuition / intuitionbase.i < prev    next >
Text File  |  1991-03-14  |  2KB  |  64 lines

  1.     IFND  INTUITION_INTUITIONBASE_I
  2. INTUITION_INTUITIONBASE_I SET  1
  3. **
  4. ** $Filename: intuition/intuitionbase.i $
  5. ** $Release: 2.04 $
  6. ** $Revision: 36.5 $
  7. ** $Date: 90/07/12 $
  8. **
  9. ** The public part of  IntuitionBase structure and supporting structures
  10. **
  11. **  (C) Copyright 1985,1986,1987,1988,1989,1990 Commodore-Amiga, Inc.
  12. **        All Rights Reserved
  13. **
  14.  
  15.     IFND EXEC_TYPES_I
  16.     INCLUDE "exec/types.i"
  17.     ENDC
  18.  
  19.     IFND EXEC_LIBRARIES_I
  20.     INCLUDE "exec/libraries.i"
  21.     ENDC
  22.  
  23.     IFND    GRAPHICS_VIEW_I
  24.     INCLUDE    "graphics/view.i"
  25.     ENDC
  26.  
  27. * Be sure to protect yourself against someone modifying these data as
  28. * you look at them.  This is done by calling:
  29. *
  30. * lock = LockIBase(0), which returns a ULONG.  When done call
  31. *  D0          D0
  32. * UnlockIBase(lock) where lock is what LockIBase() returned.
  33. *           A0
  34. * NOTE: these library functions are simply stubs now, but should be called
  35. * to be compatible with future releases.
  36.  
  37. * ======================================================================== *
  38. * === IntuitionBase ====================================================== *
  39. * ======================================================================== *
  40.  STRUCTURE IntuitionBase,0
  41.  
  42.     STRUCT    ib_LibNode,LIB_SIZE
  43.     STRUCT    ib_ViewLord,v_SIZEOF
  44.     APTR    ib_ActiveWindow
  45.     APTR    ib_ActiveScreen
  46.  
  47. * the FirstScreen variable points to the frontmost Screen.  Screens are
  48. * then maintained in a front to back order using Screen.NextScreen
  49.  
  50.     APTR    ib_FirstScreen
  51.     ULONG    ib_Flags    ; private meaning
  52.     WORD    ib_MouseY    ; these are supposed to be backwards,
  53.     WORD    ib_MouseX    ;  but weren't, recently
  54.  
  55.     ULONG    ib_Seconds
  56.     ULONG    ib_Micros
  57.  
  58. * there is not 'sizeof' here because...
  59. *
  60. *
  61.     ENDC
  62.  
  63.  
  64.